<?php echo '';exit;?> 
<!--{subtemplate common/header_common}-->
<!--{if in_array(CURMODULE,array('forumdisplay','viewthread','follow','spacecp')) || in_array($_G['basescript'],array('portal','forum','group','member')) && !in_array(CURMODULE,array('guide')) || (CURMODULE == space && in_array($do,array('view','thread','doing','profile','favorite'))) || ($_G['basescript'] == 'search' && in_array(CURMODULE,array('portal','forum'))) }-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!--{else}-->
<script type="text/javascript">
  var phoneScale = parseInt(window.screen.width)/1235;
  document.write('<meta name="viewport" content="width=1235, minimum-scale = '+ phoneScale +', maximum-scale = '+ phoneScale +', target-densitydpi=device-dpi">');
</script>
<!--{/if}-->
<!--{if $_G['cache']['plugin']['xiaoyu_conf']}-->
<!--{eval require './source/plugin/xiaoyu_conf/core.inc.php';}-->
<!--{/if}-->
<link href="template/xiaoyu_com/style/minfish_forum.css" rel="stylesheet" type="text/css" />
<script src="template/xiaoyu_com/style/js/jquery.js"></script>
<script src="template/xiaoyu_com/style/js/bootstrap.min.js"></script>
<link href="template/xiaoyu_com/style/minfish_style.css" rel="stylesheet" type="text/css"/>
<link href="template/xiaoyu_com/style/minfish.css" rel="stylesheet" type="text/css"/>
<!--{if in_array(CURMODULE,array('forumdisplay','viewthread','follow','spacecp')) || in_array($_G['basescript'],array('portal','forum','group','member')) && !in_array(CURMODULE,array('guide')) || (CURMODULE == space && in_array($do,array('view','thread','doing','profile','favorite'))) || ($_G['basescript'] == 'search' && in_array(CURMODULE,array('portal','forum'))) }-->
<link href="template/xiaoyu_com/style/minfish_media.css" rel="stylesheet" type="text/css"/>
<!--{/if}-->
<style>#scform{ list-style:none}</style>
</head>
<body id="nv_search" onkeydown="if(event.keyCode==27) return false;">
	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<div id="toptb" class="mf-hide cl">
		<div class="z">
			<a href="./" id="navs" class="showmenu xi2" onMouseOver="showMenu(this.id)">{lang return_homepage}</a>
		</div>
		<div class="y">
			<!--{if $_G['uid']}-->
				<strong><a href="home.php?mod=space" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
				<a href="javascript:;" id="myspace" class="showmenu xi2" onMouseOver="showMenu(this.id);">{lang my_nav}</a>
				<!--{hook/global_usernav_extra1}-->
				<a href="home.php?mod=spacecp">{lang setup}</a>
				<!--{if $_G['uid'] && ($_G['group']['radminid'] == 1 || getstatus($_G['member']['allowadmincp'], 1))}--><a href="admin.php" target="_blank">{lang admincp}</a><!--{/if}-->
				<!--{hook/global_usernav_extra2}-->
				<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
			<!--{elseif !empty($_G['cookie']['loginuser'])}-->
				<strong><a id="loginuser">$_G['cookie']['loginuser']</a></strong>
				<a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang activation}</a>
				<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
			<!--{else}-->
				<a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
				<a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang login}</a>
			<!--{/if}-->
		</div>
	</div>
  <div class="header mo-add"> 
   <div class="mfwp">
   <!--{eval $mnid = getcurrentnav();}-->
    <h1 class="logo"><a href="{if $_G['setting']['domain']['app']['default']}http://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']"><img src="template/xiaoyu_com/style/img/logo.png" /></a></h1> 
    <div class="sitenav"> 
     <ul>
        <!--{loop $_G['setting']['navs'] $nav}-->
        <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
        		<!--{if $_G['setting']['subnavs']}-->
                <li {if $mnid == $nav[navid]}class="menu-item-has-children cur" {/if}$nav[nav]>
					<!--{loop $_G[setting][subnavs] $navid $subnav}-->
						<!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
						<!--{if $mnid == $nav[navid]}-->
                        <ul class="sub-menu">$subnav</ul>
                        <!--{/if}-->
						<!--{/if}-->
					<!--{/loop}-->
                    </li>
				<!--{else}-->
                <li {if $mnid == $nav[navid]}class="cur" {/if}$nav[nav]></li>
                <!--{/if}-->
        <!--{/if}-->
        <!--{/loop}-->
     </ul> 
     <!--{hook/global_nav_extra}-->
    </div> 
    <span class="sitenav-on"><i class="fa">&#xe628;</i></span> 
    <span class="menbernav-on"><i class="fa">&#xe619;</i></span> 
    <span class="sitenav-mask"></span>
    <!--{template common/header_userstatus}--> 
    <span class="xiaoyu-search"><a href="javascript:" class="search-show"><i class="fa fa-search">&#xe618;</i></a><a href="javascript:" class="search-off"><i class="fa fa-search">&#xe7dc;</i></a></span> 
   </div> 
  </div>
 
 <div class="site-search">
	<div class="mfwp">
    <!--{subtemplate common/xiaoyu_pubsearchform}-->
	</div>
    </div>
   <div class="mf-hide">
	<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
		<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
		<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
		     <!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
		     <li>$module[url]</li>
		     <!--{/if}-->
		<!--{/loop}-->
		</ul>
	<!--{/if}-->
	$_G[setting][menunavs]

	<!--{if $_G['setting']['navs']}-->
		<ul class="p_pop h_pop" id="navs_menu" style="display: none">
		<!--{loop $_G['setting']['navs'] $nav}-->
			<!--{eval $nav_showmenu = strpos($nav['nav'], 'onmouseover="showMenu(');}-->
		    <!--{eval $nav_navshow = strpos($nav['nav'], 'onmouseover="navShow(')}-->
		    <!--{if $nav_hidden !== false || $nav_navshow !== false}-->
			<!--{eval $nav['nav'] = preg_replace("/onmouseover\=\"(.*?)\"/i", '',$nav['nav'])}-->
		    <!--{/if}-->
			<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li $nav[nav]></li><!--{/if}-->
		<!--{/loop}-->
		</ul>
	<!--{/if}-->

	<ul id="myspace_menu" class="p_pop" style="display:none;">
		<!--{loop $_G['setting']['mynavs'] $nav}-->
			<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
				<li>$nav[code]</li>
			<!--{/if}-->
		<!--{/loop}-->
	</ul>
  </div>


